//
//  HomeStatusForwardCell.swift
//  weiboxiangmu
//
//  Created by wei_jingyun on 15/7/2.
//  Copyright © 2015年 wei_jingyun. All rights reserved.
//

import UIKit

// 继承类扩展 转发微博
class HomeStatusForwardCell: HomeTableViewCell {
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style , reuseIdentifier: reuseIdentifier)
    
        addSubview(forwardLabel)
        insertSubview(forwardBut, atIndex: 0)
        forwardBut.backgroundColor = UIColor(white: 0.9, alpha: 1.0)
        
        forwardLabel.ff_edgesView(UIedgeView().left(self, c: 12).right(self, c: 4).top(contentLabel, c: 12))
        
        pictureViewLayoutConstraint(pictureView.ff_edgesView(UIedgeView().top(forwardLabel, c: 12).left(self, c: 12).size(CGSizeZero))!)
        
        
        forwardBut.ff_edgesView(UIedgeView().left(self, c: 0).right(self, c: 0).top(contentLabel, c: 0).bottom(footerView, c: 0))
        
    }

    required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
   
    lazy var forwardBut = UIButton()

    
}
